package com.ssh.manager;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

import com.ssh.common.util.Page;
import com.ssh.entity.ChangGui;
import com.ssh.entity.HelpSale;

public interface ChangGuiManager {
	public ChangGui saveUpdate(ChangGui changGui);
	
	public boolean delete(Long id);
	
	public ChangGui getById(Long id);
	
	public void findList(Map conditionMap, Page page, String isDesc);
    public List<Object> tongjiByTotal(Timestamp date,String groupString);
    public List<Object> tongjiByProduct(Timestamp date,int brandId,int companyId,int superMarketId);
    public Object find_BrandCompanySuperMarket();	
    public List<ChangGui> listForChangGui(Timestamp staratDate,Timestamp endDate,long superMarketId,long companyId); 
    public List<HelpSale> listForHelpSale(Timestamp staratDate,Timestamp endDate,long superMarketId ,long companyId);
}
